package com.bys.admin.system.controller.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Schema(description = "创建代码生成器的表和字段 视图")
@Data
public class CodegenTableSaveVo {
    @Schema(description = "数据源配置的编号")
    @NotNull(message = "数据源配置的编号不能为空")
    private Long dataResourceId;

    @Schema(description = "表名数组")
    @NotEmpty(message = "表名数组不能为空")
    private List<String> tableNames;

}
